package com.cskaoyan.bean.role.bo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UpdateRoleBo {

    /**
     * id : 11
     * name : 测试用户-A
     * desc : A类测试用户-1
     * enabled : true
     * addTime : 2021-06-04 21:05:49
     * updateTime : 2021-06-04 21:05:49
     * deleted : false
     */

    private int id;
    private String name;
    private String desc;
    private boolean enabled;
    /**
     * Spring的DataTimeFormat注解和Converter都不成功，先注释掉 不影响
     */
//    private Date addTime;
//    private Date updateTime;
    private boolean deleted;

}
